<div class="modal-header">
  <h4 class="modal-title">添加设备</h4>
</div>
<div class="modal-body">
  <div class="container-fluid form-horizontal ">
<div class="col-xs-12 " >
  <div class="panel-body">
    <div class="container-fluid" style="padding: 0;">
      <div class="col-xs-12 col-md-12" style="padding: 0;">
        <div class="form-group">
          <label class="col-sm-3 col-xs-12 control-label">设备名称</label>
          <div class="col-sm-9 col-xs-12">
            <input type="text" class="form-control" placeholder="设备名称" ng-model="obj.eq_name">
          </div>
        </div>
        
        <div class="form-group">
          <label class="col-sm-3 col-xs-12 control-label">设备型号</label>
          <div class="col-sm-9 col-xs-12">
            <input type="text" class="form-control" placeholder="设备型号" ng-model="obj.eq_model">
          </div>
        </div>
        
        <div class="form-group">
          <label class="col-sm-3 col-xs-12 control-label">设备编号</label>
          <div class="col-sm-9 col-xs-12">
            <input type="text" class="form-control" placeholder="设备编号" ng-model="obj.eq_code">
          </div>
        </div>

        <div class="form-group">
          <label class="col-sm-3 col-xs-12 control-label">设备安装地址</label>
          <div class="col-sm-9 col-xs-12">
            <input type="text" class="form-control" placeholder="设备安装地址" ng-model="obj.eq_address">
          </div>
        </div>
        
        <div class="form-group">
          <label class="col-sm-3 col-xs-12 control-label">设备类型</label>
          <div class="col-sm-9 col-xs-12">
            <div class="radio">
              <label class="i-checks">
                  <input type="radio" name="type" ng-model="obj.eq_type" value="0">
                  <i></i>入口用
              </label>
              <label class="i-checks" style="margin-left: 20px">
                  <input type="radio" name="type" ng-model="obj.eq_type" value="1">
                  <i></i>出口用
              </label>
          </div>
          </div>
        </div>


      </div>
    </div>
  </div>
</div>
</div>
</div>
<div class="modal-footer">
  <button class="btn btn-primary" type="button" ng-click="ok()" ng-show="flag==0">OK</button>
  <button class="btn btn-primary" type="button" ng-click="update()" ng-show="flag==1">ok</button>
  <button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
</div>


